<ul>
    <foreach name="malls" item="m">
        <li>
            <a href="{:U('/'.$m['initial'])}">
                <img src="{$m.image_url}" alt="{$m.name}"/>
            </a>

            <p>
                <span>{$m.name}</span>
                <if condition="$m['is_att']">
                    <a href="javascript:;" class="ygz">{:L('_FOLLOWED_')}</a>
                    <else/>
                    <a href="javascript:;" onclick="addAtt(this,2,{$m.id})" class="gz">+{:L('_FOLLOW_')}</a>
                </if>
            </p>
        </li>
    </foreach>
</ul>